﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SysEdit.aspx.cs" Inherits="main_admin_SysEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>系统信息管理</title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../../css/base.css" rel="stylesheet" type="text/css" />

    <script src="../../js/base.js" type="text/javascript" charset="utf-8"></script>

    <script src="../../js/singleeditpoint.js" type="text/javascript" charset="utf-8"></script>

    <script src="../../js/validator.js" type="text/javascript" charset="utf-8"></script>

    <script src="../../js/comm.js" type="text/javascript" charset="utf-8"></script>
    
    <script src="../../js/common.js" type="text/javascript" charset="utf-8"></script>

    <script type="text/javascript">	
        
            function tomodifySave(){
                //清除空格	
                TrimAllitems();       
                ClearErrMsg();        
			    var thisForm=document.forms[0];
		
				if( Validator.Validate(thisForm,3))
				{　
				  
				   //用户名如果输入则大于2位
		            if(document.getElementById("txt_SYS_NAME").value != "" &&  
		                document.getElementById("txt_SYS_NAME").value.length <= 2){
		                showErrMsg(document.getElementById("txt_SYS_NAME"),"系统信息名称不能小于3位！");
		                return false; 
		            }
 
		        
		           
		            //Email地址
		            if(document.getElementById("txt_EMAIL").value != "" &&  
		                document.getElementById("txt_EMAIL").value.indexOf("@") == -1){
		                 showErrMsg(document.getElementById("txt_EMAIL"),"Email地址格式不对！");
		                return false; 
		            }
		            
		            
					if(document.getElementById("txt_MEMO").value.length>200)
					{
						showErrMsg(document.getElementById("txt_MEMO"),"系统信息描述信息不能大于200字符！");
						return false;
					}
					
					return true;
				}
				return false;
			}
			 
			
    </script>

</head>
<body>
<form name="form1" method="post" id="form1" runat="server">
<div class="conter_right">
<div class="sfkr"><span>当前位置：</span>系统信息管理</div>
     <fieldset class="dsadq"><legend style="color:#434449"><span id="page_title" runat="server">系统信息管理</span></legend>
     <table width="100%" border="0" cellpadding="0" cellspacing="0" class="msels">
      <tr id="tr_SYS_CODE" runat="server">     
      <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_SYS_CODE" runat="server" Text="系统代码"></asp:Label>：</td>
        <td width="84%" align="left" valign="middle" colspan="3">
           <asp:TextBox MaxLength="100" CssClass="srjks" ID="txt_SYS_CODE" runat="server"  
                dataType="Require" msg="不能为空！" Width="695px" ReadOnly="true" ></asp:TextBox>
                <asp:Label ID="err_SYS_CODE" runat="server"></asp:Label></td>
     
     </tr>
     <tr>
        
        <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_SYS_NAME" runat="server" Text="学校名称"></asp:Label>：</td>
        <td width="34%" align="left" valign="middle"><asp:TextBox MaxLength="15" 
                CssClass="srjks" ID="txt_SYS_NAME" runat="server"  dataType="Require" 
                msg="名称不能为空！" Width="299px" ></asp:TextBox>
                                        <asp:Label ID="err_SYS_NAME" runat="server"></asp:Label></td>
     
        <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_MANAGER" runat="server" Text="负责人"></asp:Label>：</td>
        <td width="34%" align="left" valign="middle"><asp:TextBox MaxLength="15" CssClass="srjks" ID="txt_MANAGER" runat="server"></asp:TextBox>
                                        <asp:Label ID="err_MANAGER" runat="server"></asp:Label></td>
        
    </tr>
     <tr> 
        <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_TEL" runat="server" Text="负责人电话"></asp:Label>：</td>
        <td width="34%" align="left" valign="middle"><asp:TextBox MaxLength="15" CssClass="srjks" ID="txt_TEL" runat="server" Require="false" dataType="tel" msg="电话号码不正确" ></asp:TextBox>
                                        <asp:Label ID="err_TEL" runat="server"></asp:Label></td>
 
        <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_MOBILE" runat="server" Text="负责人手机"></asp:Label>：</td>
        <td width="34%" align="left" valign="middle"><asp:TextBox  CssClass="srjks" MaxLength="11" Width="200px" ID="txt_MOBILE"  runat="server" dataType="Mobile"
                                                  msg="手机号码不正确" Require="false" ></asp:TextBox>
                                        <asp:Label ID="err_MOBILE" runat="server"></asp:Label></td>
     </tr>
      <tr> 
        <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_EMAIL" runat="server" Text="负责人邮箱"></asp:Label>：</td>
        <td width="34%" align="left" valign="middle" ><asp:TextBox MaxLength="100" CssClass="srjks" ID="txt_EMAIL" runat="server" Require="false" dataType="email" msg="邮箱格式不正确" ></asp:TextBox>
                                        <asp:Label ID="err_EMAIL" runat="server"></asp:Label></td>
                                           <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_AUDIT" runat="server" Text="是否审核课件"></asp:Label>：</td>
        <td width="34%" align="left" valign="middle">  <asp:RadioButtonList ID="ddl_AUDIT" runat="server" RepeatDirection="Horizontal" />
                        <asp:Label ID="err_AUDIT" runat="server"></asp:Label></td>

 
     </tr>
     
      <tr>           
        <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_ADDR" runat="server" Text="地址"></asp:Label>：</td>
        <td width="84%" align="left" valign="middle" colspan="3">
            <asp:TextBox  CssClass="srjks" MaxLength="100" Width="568px" ID="txt_ADDR"  
                runat="server" Require="false" ></asp:TextBox>
                                        <asp:Label ID="err_ADDR" runat="server"></asp:Label></td>     
     </tr>
     
     <tr>     
      <td width="16%" align="right" valign="middle"><asp:Label ID="lbl_MEMO" runat="server" Text="备注"></asp:Label>：</td>
        <td width="34%" align="left" valign="middle" colspan="3">
            <asp:textBox  id="txt_MEMO" runat="server" cols="60" rows="6" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
                TextMode="MultiLine" Width="488px"></asp:textBox>
                <asp:Label ID="err_MEMO" runat="server"></asp:Label></td>
     
     </tr>
     </table> 
     </fieldset>
     </div>
     
      <div style="height:30px">  
      <span style="color:Red;margin-left:25px;">
      是否审核课件： </span>
          不审核－课件状态自动会设为审核通过　　
          审核－课件状态需手动审核
     
</div>
        <div class="nstkaah" align="center" style="width:90%">
        <asp:Button runat="server" Text="保存" CssClass="seaal" ID="queding" ToolTip="保存" 
                                         OnClientClick="return  tomodifySave();"   OnClick="queding_Click" />
                                        
              </div>
              
	<!--jjjjjjjjjjjjjjjjjjjj页脚部分jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj-->
	<div id="footer"></div>
   </form>
</body>
</html>
